import 'package:FlutterStudy/demo/navigator/Navigator2Demo.dart';
import 'package:flutter/material.dart';

class Detail extends StatelessWidget {


  const Detail({super.key});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Column(
        children: [
          Text("我是详情页面"),
          MaterialButton(
            onPressed: () {
              BiliRouteDelegate.of(context).showHome();
            },
            child: Text("返回"),
          ),
        ],
      ),
    );
  }
}
